<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>H+ 后台主题UI框架 - 数据表格</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <!-- Data Tables -->
    <link href="css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">

    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>可编辑表格</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="table_data_tables.html#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <!-- <ul class="dropdown-menu dropdown-user">
                                <li><a href="table_data_tables.html#">选项1</a>
                                </li>
                                <li><a href="table_data_tables.html#">选项2</a>
                                </li>
                            </ul> -->
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                     	<form method="get" action="<{$page_basename}><{$url_params}>">
                        	<div class="row">
                            <!-- <a onclick="fnClickAddRow();" href="javascript:void(0);" class="btn btn-primary ">添加行</a> -->  
                               	<div>
	                                <label class="col-sm-1 control-label" style="margin-top:5px;padding-right:1px;">用户名</label>

	                                <div class="col-sm-10 col-md-2">
	                                    <input type="text" class="form-control" value="<{$smarty.get.name}>" name="name">
	                                </div>
	                            </div>
	                            <div>
	                                <label class="col-sm-1 control-label" style="margin-top:5px;padding-right:1px;">密码</label>

	                                <div class="col-sm-10 col-md-2">
	                                    <input type="password" id="password" class="form-control" name="password">
	                                </div>
	                            </div>
	                             <div>
	                                <label class="col-sm-1 control-label" style="margin-top:5px;padding-right:1px;">下拉框</label>

	                                <div class="col-sm-10 col-md-2">
	                                   <select name="flag" class="form-control input-sm">
	                                   		<option value="">请选择</option>
	                                   		<option <{if $smarty.get.flag == '1'}>selected="selectd"<{/if}> value="1">1</option>
	                                   		<option <{if $smarty.get.flag == '2'}>selected="selectd"<{/if}> value="2">2</option>
	                                   		<option <{if $smarty.get.flag == '3'}>selected="selectd"<{/if}> value="3">3</option>
	                                   	</select>
	                                </div>
	                            </div>
	                            <!-- <button class="btn btn-primary " type="submit"><i class="fa fa-check"></i>&nbsp;提交</button> -->
                        	</div>
                        	<div class="row">
	                            <div>
	                                <label class="col-sm-1 control-label" style="margin-top:5px;padding-right:1px;">密码</label>

	                                <div class="col-sm-10 col-md-2">
	                                    <input type="password" id="password" class="form-control" name="password">
	                                </div>
	                            </div>
	                             <div class="">
                                        <label class="col-sm-1 control-label" style="margin-top:5px;padding-right:1px;">时间：</label>
                                        <div class="col-sm-10 col-md-2">
                                            <input class="form-control layer-date" placeholder="YYYY-MM-DD hh:mm:ss" name="time" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
                                            <label class="laydate-icon" style="display:none;"></label>
                                        </div>
                                    </div>
	                            <button class="btn btn-primary " type="submit"><i class="fa fa-check"></i>&nbsp;提交</button>
                        	</div>
                        </form>
                        <table class="table table-striped table-bordered table-hover ">
                            <thead>
                                <tr>
                                    <th><input type="checkbox" name="checkAll"></th>
                                    <th>ID</th>
                                    <th>用户名</th>
                                    <th>flag</th>
                                    <th>引擎版本</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                            <{foreach item=res from = $admins}>
                                <tr class="gradeX">
                                    <td><input type="checkbox" name="checkbox" value="<{$res.id}>"></td>
                                    <td><{$res.id}></td>
                                    <td name_id="<{$res.id}>"><{$res.name}>
                                    </td>
                                    <td><{$res.flag}></td>
                                    <td class="center">4</td>
                                    <td class="center">
                                        <a class="J_menuItem" href="example_edit.php?id=<{$res.id}>" >修改</a>
                                        |
                                        <a class="J_menuItem" href="example_view.php?id=<{$res.id}>">查看</a>
                                        |
                                        <a class="" onclick="edit(<{$res.id}>,$(this),'<{$page_basename}>?action=edit')" href="javascript:;">动态修改</a>
                                    </td>
                                </tr>
                            <{/foreach}>
                                <!-- <tr class="gradeC">
                                    <td>Trident</td>
                                    <td>Internet Explorer 5.0
                                    </td>
                                    <td>Win 95+</td>
                                    <td class="center">5</td>
                                    <td class="center">C</td>
                                </tr> -->
                                
                            </tbody>
                           <!--  <tfoot>
                                <tr>
                                    <th>渲染引擎</th>
                                    <th>浏览器</th>
                                    <th>平台</th>
                                    <th>引擎版本</th>
                                    <th>CSS等级</th>
                                </tr>
                            </tfoot> -->
                        </table>
                        <div class="row">
                           <!--  <div class="col-sm-6">
                                <div class="dataTables_info" id="editable_info" role="alert" aria-live="polite" aria-relevant="all">显示 1 到 10 项，共 10 项</div>
                            </div>
                            <div class="col-sm-6">
                                <div class="dataTables_paginate paging_simple_numbers" id="editable_paginate">
                                    <ul class="pagination">
                                        <li class="paginate_button previous disabled" aria-controls="editable" tabindex="0" id="editable_previous"><a href="#">上一页</a></li>
                                        <li class="paginate_button active" aria-controls="editable" tabindex="0"><a href="#">1</a></li>
                                        <li class="paginate_button next disabled" aria-controls="editable" tabindex="0" id="editable_next"><a href="#">下一页</a></li>
                                    </ul>
                                </div>
                            </div> -->
                            <div class="fa-hover col-md-2 col-sm-2" style="width:120px;">
                                <a class="del" onclick="del('<{$page_basename}>?action=del');"  href="javascript:;"><i class="fa fa-minus-square"></i> 批量删除</a>
                            </div>
                            <{$page}>
                        </div>
                        
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/jeditable/jquery.jeditable.js"></script>
    <script src="js/plugins/dataTables/jquery.dataTables.js"></script>
    <script src="js/plugins/dataTables/dataTables.bootstrap.js"></script>
    <script src="js/content.min.js?v=1.0.0"></script>
    <script src="js/common.js"></script>
    <script src="js/plugins/layer/laydate/laydate.js"></script>
    <script src="js/contabs.min.js"></script>
    <script>
       
    </script>

</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/table_data_tables.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
</html>
